package com.lysj.admin.common.auth.feign;

import com.lysj.admin.utils.web.Resp;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @author Created by zk on 2019-01-02 15:27
 * @description
 */
public interface AuthServiceFeign {
    @PostMapping("/auth/authentication")
    Resp authentication(@RequestParam(value = "token") String token,@RequestParam(value = "path") String path);

    @GetMapping("/auth/sendSms")
    boolean sendSms(@RequestParam(value = "code")String code,
                    @RequestParam(value = "phone")String phone);

@GetMapping("/auth/sendEmail")
    boolean sendEmail(@RequestParam(value = "text")String text,
@RequestParam(value = "email")String email,
@RequestParam(value = "title")String title);
        }
